Skip to content

fix(cli): correct dead api-key dashboard url and align brand to Onepin#61

Open
kj-podonos wants to merge 1 commit into
mainfrom
kj-podonos/asuncion-v1
Open

fix(cli): correct dead api-key dashboard url and align brand to Onepin#61
kj-podonos wants to merge 1 commit into
mainfrom
kj-podonos/asuncion-v1

Conversation

@kj-podonos

Copy link
Copy Markdown
Contributor

What

Upstream followups from the public-docs SEO/GEO pass (onepin-sdks #27/#28) that live in this repo.

1. Dead API-keys dashboard URL → live path

https://app.onepin.ai/settings/api-keys 404s. The live page is
https://app.onepin.ai/workspace/~/settings/api (verified 200 against the running app).
The dead URL was duplicated in 6 spots / 5 files — all fixed:

File What
src/onepin/_cli/commands/auth.py _DASHBOARD_URL const (drives both login invalid-key errors)
tests/cli/test_cli_login.py assertion updated to the live path
README.md (×2) auth section + FAQ links (text + href)
examples/README.md env-setup comment
src/onepin/_cli/_skill/onepin/SKILL.md bundled agent-skill preflight

2. Brand casing OnePinOnepin

Align user-facing prose to the docs' brand casing: CLI error messages
(_ctx.py), --help/docstrings, and the bundled skill docs (SKILL.md,
reference.md).

Code symbols are untouchedOnePinClient, AsyncOnePinClient,
OnePinClientEnvironment, OnePin*Error, ONEPIN_* env vars,
X-OnePin-Required-Version, and the lowercase onepin module/PyPI name all
stay verbatim. The generated SDK (everything under src/onepin/ except _cli/
and _version_gate.py) was not touched.

Tests

Added test_bundled_skill_files_empty_payload_raises covering the empty-payload
branch of _bundled_skill_files, so the brand edit on that line stays covered.

Verification

  • ruff check / ruff format --check / mypy -p onepin._cli — clean
  • pytest --cov=onepin._cli95.79% (≥80 gate)
  • diff-cover --compare-branch=origin/main100% on changed lines (≥90 gate)
  • Live smoke: onepin login --key bad → error now prints …/workspace/~/settings/api; skill install --help reads "Onepin".

Notes

  • A docs followup also claimed onepin login prints OnePin API key: — it doesn't; the prompt is the bare string "API key". No change needed.
  • CHANGELOG.md line 11 (sync SDK to OnePin API v0.38.12) is a historical, release-please-managed entry — left as-is.

Out of scope (other repos)

donut-be spec title, Framer JSON-LD, docs.yml twitter/PostHog keys, post-deploy ops — tracked in their own repos.

🤖 Generated with Claude Code

The api-key dashboard URL app.onepin.ai/settings/api-keys 404s; the live
path is app.onepin.ai/workspace/~/settings/api. It was duplicated across the
CLI auth-error const, README, examples, and the bundled agent skill -- all now
point at the live page (verified 200 against the running app).

Also align user-facing prose to the docs brand casing 'Onepin' (login/skill
error messages, --help text, docstrings, SKILL.md/reference.md). Code symbols
(OnePinClient, OnePin*Error, ONEPIN_* env vars, X-OnePin-Required-Version) and
the lowercase 'onepin' module name are untouched.

Adds a test for the empty-payload branch of _bundled_skill_files so the brand
edit on that line stays covered (diff-cover 100% on changed lines).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@kj-podonos kj-podonos added bug Something isn't working documentation Improvements or additions to documentation labels Jun 19, 2026
@kj-podonos kj-podonos self-assigned this Jun 19, 2026
@kj-podonos

Copy link
Copy Markdown
Contributor Author

@claude review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant